package com.lanou.service.T8TService;

import com.lanou.bean.T8Tcommodity.ShoppingCart;
import com.lanou.utils.AjaxResult;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created by dllo on 18/3/19.
 */
public interface ShoppingCartService {

    List<ShoppingCart> selectUserCart(@Param(value = "userId") Integer userId);

    void addCart(@Param(value = "commodityId") Integer commodityId,
                       @Param(value = "colorId") Integer colorId,
                       @Param(value = "size") Integer sizeId,
                       @Param(value = "userId") Integer userId,
                       @Param(value = "count") Integer count);
}
